package kr.hkit.powerjava.chapter08.work;

class Point {
	private int x, y;

	public Point(int x, int y) {
		this.x = x;
		this.y = y;
	}
	//생성자 alt+shift+s
	
}

class Circle{
	private int radius = 0;
	private Point center;
	
	//생성자
	public Circle(Point p, int r){
		this.center = p;
		this.radius = r;
	}

	public int getRadius() {
		return radius;
	}

	public void setRadius(int radius) {
		this.radius = radius;
	}

	public Point getCenter() {
		return center;
	}

	public void setCenter(Point center) {
		this.center = center;
	}
	
	
}

public class CircleTest{
	public static void main(String[] args) {
		Point p = new Point(25, 78);
		Circle c = new Circle(p,10);
		
	}
	
}

